<div class="grid12">
    <div class="widget">
     <div class="whead"><h6>Detalle de la orden</h6><div class="clear"></div></div>         
        <table cellpadding="0" cellspacing="0" width="100%" class="tAlt">
            <thead>
                <tr>
                    <th>Numero</th>
                    <th>Monto</th>
                    <th>Fecha</th>
                    <th>Acciones</th>
                </tr>
            </thead>            
            <tbody>                
                <?php foreach ($cambiosO as $c): ?>
                    <tr>
                        <td>000<?php echo $c['Cambiordene']['numero']; ?></td>                                      
                        <td><?php //echo $c['Cambiordene']['monto']; 
                                
                        //echo $c['Cambiordene']['monto']; 
                        $monto = $c['Cambiordene']['monto'];                                     
                        $modMonto = $this->Number->format($monto, array(
                            'places' => 2,
                            'before' => ' ',
                            'escape' => false,
                            'decimals' => '.',
                            'thousands' => ','
                        ));
                        echo $modMonto; ?></td>
                        <td><?php echo $c['Cambiordene']['fecha']; ?></td>
                        <td><?php echo $this->Html->link('EDITAR',array('controller'=>'Cambiordenes','action'=>'editar',$c['Cambiordene']['id']));?>    &nbsp;&nbsp;                                   
                            <?php echo $this->Html->link('TAGS',array('controller'=>'Tags','action'=>'listado',$c['Cambiordene']['id']),null); ?>       &nbsp;&nbsp;
                            <?php echo $this->Html->link('ELIMINAR',array('controller'=>'Cambiordenes','action'=>'eliminar',$c['Cambiordene']['id']),null,('Desea aliminar este Documento.....!!!!!?')); ?>
                   </tr>
                <?php endforeach; ?>
            </tbody>
        </table> 
        
    </div>
</div>

<div class="actions-right">
<?php echo $this->Html->link('NUEVO CAMBIO DE ORDEN', array('action'=>'corden', $idOrden), array('class' => 'buttonS bGreen ')); ?> &nbsp;&nbsp;&nbsp;&nbsp;
            <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Ordenes', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>